package cn.liyiming.bbs.modular.system.model;

import lombok.Data;

import java.io.Serializable;

/**
 * @program: bbsblog
 * @description: 点赞数量 DTO。用于存储从 Redis 取出来的被点赞数量
 * @author: 李一鸣
 * @create: 2020-04-05 19:38
 **/
@Data
public class LikedCountDTO implements Serializable {
    private static final long serialVersionUID = -2856160546081194945L;

    private Integer id;

    private Integer count;

    public LikedCountDTO() {
    }

    public LikedCountDTO(Integer id, Integer count) {
        this.id = id;
        this.count = count;
    }
}
